<?php
/* SVN FILE: $Id: common.php 892 2009-05-07 06:46:31Z hoangnv $ */
/**
*
* @author $Author: hoangnv $
* @version $Revision: 892 $
* @lastrevision $Date: 2009-05-07 13:46:31 +0700 (Thu, 07 May 2009) $
* @modifiedby $LastChangedBy: hoangnv $
* @lastmodified $LastChangedDate: 2009-05-07 13:46:31 +0700 (Thu, 07 May 2009) $
* @filesource $URL: http://192.168.1.10/svn_web24h02/website/ajax/common.php $
*/



ob_start();
error_reporting( E_ALL ^ E_NOTICE);


$v_dir =  str_replace( 'ajax', '', dirname( __FILE__));
define( 'APP_DIR', $v_dir.'/app');

// Quick cache
$cachetimeout = 300;
#include APP_DIR.'/vendors/quickcache/quickcache.php';



define( 'DS', DIRECTORY_SEPARATOR);

define('FW24H_ROOT', 'D:/projects/ladybirdphp/website/fw24h4'); # duong dan den thu muc fw24h

include APP_DIR.'/config/core.php';

require FW24H_ROOT.'/fw24h_functions.php';
require FW24H_ROOT.'/fw24h_model.php';
require FW24H_ROOT.'/driver/'.$_FW24H_CONFIG_['driver'].'.php';

$a = new FW24H_Model();

echo '<PRE>';
print_r( get_included_files());
echo memory_get_usage()/1024 . "\n"; // 36744 
exit();


